package org.wzq.config;

/**
 * project:
 * author: wzq
 * date: 2014/8/8
 * description:
 */
public class AppUrl {
    //socket 服务器
    private static String SOCKET_IP = "172.16.1.43";
    public static final int SOCKET_PORT = 3001;
    public static final int HTTP_PORT = 8080;

    public static void setSocketIp(String hostIp) {
        SOCKET_IP = hostIp;
    }

    public static String getSocketIp() {
        return SOCKET_IP;
    }

    public static String getHostIp(){
        return "http://" + SOCKET_IP + ":" + HTTP_PORT;
    }
}
